package cn.fintecher.pangolin.service.business.model.request;

import cn.fintecher.pangolin.common.enums.State;
import cn.fintecher.pangolin.entity.mysql.SimplePrincipal;
import cn.fintecher.pangolin.entity.mysql.SimpleUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Set;

/**
 * @Author wangxiangdong
 * @Description 合规检查model
 * @Date 2019/10/19 10:35
 **/
@Data
public class ComplianceCheckRequest {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "配置名称")
    private String configName;

    @ApiModelProperty(value = "状态")
    private State status;

    @ApiModelProperty(value = "配置的委托方")
    private Set<SimplePrincipal> principals;

    @ApiModelProperty(value = "配置的用户")
    private Set<SimpleUser> users;

    @ApiModelProperty(value = "资源Ids")
    private List<Integer> resourceIds;
}
